﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace EFFC.Net.Event
{
    /// <summary>
    /// 定義頁面控件中各種委託事件
    /// </summary>
    public class EventDefine
    {
        /// <summary>
        /// 控件事件執行出錯時，額外的特殊處理
        /// </summary>
        /// <param name="sender"></param>
        public delegate void ErrorEvent(object sender);

        /// <summary>
        /// 權限控件需要根據授權的ActionID進行權限設定
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="authorizedActionIDs">被授權的ActionID，可以為多個，麼個之間用口號分割</param>
        public delegate void ActionSettingEvent(object sender, string authorizedActionIDs);
    }
    
    
}
